<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Vue app</title>
    <script src="vite-project/node_modules/vue/dist/vue.global.js"></script>
</head>

<body>
    <p id="result"></p><br>
    <p id="users"></p>
    <script type="text/javascript">
        var user = {
            name: "张三",
            age: 100,
            gender: "男"
        };
        var users = [{
            name: "第一个名字",
            age: 114514
        }, {
            name: "第二个名字",
            age: 666
        }];
        document.getElementById("result").innerHTML = user.name + "-" + user.age + "-" + user.gender;
        document.getElementById("users").innerHTML = users[0].name + "-" + users[0].age;
    </script>

</body>

</html>